from .RTFM import RTFM
from .untils import load_pretrained


def generate_model(**config):
    model = config.pop("name")
    model = eval(model)(**config)
    return model